package com.ujoku.service;

import com.labillusion.core.database.base.mybatis.service.base.BaseService;
import com.labillusion.core.platform.web.pagination.PaginationForm;
import com.ujoku.domain.Member;
import com.ujoku.domain.MyList;

/**
 * Created by Greg.Chen on 2015/2/4.
 */
public interface MyListService<T> extends BaseService<T> {

    MyList selectMyListByMemberId(int memberId);

    MyList selectOnlyMyListByMemberId(int memberId);

    int getRepurchaseItemCount(PaginationForm form, MyList myList);

    int getItemCount(PaginationForm form, MyList myList);

    int getItemOnSaleCount(PaginationForm form, MyList myList);

    int getFriendCount(PaginationForm form, Member member);
}
